using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("InGameBrowserCanvas")]
	public class InGameBrowserCanvas : MonoBehaviour
	{
		public static int LOADING_TIME_FADE_SEC => MonoClass.smethod_6<int>(TritonHs.MainAssemblyPath, "", "InGameBrowserCanvas", "LOADING_TIME_FADE_SEC");

		public static float LOADING_MIN_ALPHA => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "InGameBrowserCanvas", "LOADING_MIN_ALPHA");

		public PegUIElement m_closeButton => method_3<PegUIElement>("m_closeButton");

		public PegUIElement m_backButton => method_3<PegUIElement>("m_backButton");

		public PegUIElement m_backSymbolButton => method_3<PegUIElement>("m_backSymbolButton");

		public UberText m_loadingText => method_3<UberText>("m_loadingText");

		public GameObject m_topLeftBone => method_3<GameObject>("m_topLeftBone");

		public GameObject m_bottomRightBone => method_3<GameObject>("m_bottomRightBone");

		public GameObject m_inputBlockerRenderer => method_3<GameObject>("m_inputBlockerRenderer");

		public bool m_hideAllButtons => method_2<bool>("m_hideAllButtons");

		public bool m_canGoBack => method_2<bool>("m_canGoBack");

		public PegUIElement m_inputBlockerPegUIElement => method_3<PegUIElement>("m_inputBlockerPegUIElement");

		public DateTime m_loadingLastTimeFade => method_2<DateTime>("m_loadingLastTimeFade");

		public bool m_shouldLoadingFadeIn => method_2<bool>("m_shouldLoadingFadeIn");

		public InGameBrowserCanvas(IntPtr address, string className)
			: base(address, className)
		{
		}

		public InGameBrowserCanvas(IntPtr address)
			: this(address, "InGameBrowserCanvas")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void Update()
		{
			method_8("Update");
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public void WebViewDidFinishLoad(string pageState)
		{
			method_8("WebViewDidFinishLoad", pageState);
		}

		public void WebViewBackButtonPressed(string dummyState)
		{
			method_8("WebViewBackButtonPressed", dummyState);
		}

		public void ShowDarkenInputBlocker()
		{
			method_8("ShowDarkenInputBlocker");
		}

		public void ShowLoading()
		{
			method_8("ShowLoading");
		}

		public void HideLoading()
		{
			method_8("HideLoading");
		}

		public void HideAllButtons()
		{
			method_8("HideAllButtons");
		}

		public void OnBackPressed(UIEvent e)
		{
			method_8("OnBackPressed", e);
		}

		public void OnClosePressed(UIEvent e)
		{
			method_8("OnClosePressed", e);
		}

		public bool OnNavigateBack()
		{
			return method_11<bool>("OnNavigateBack", Array.Empty<object>());
		}

		public void DarkenInputBlocker(GameObject inputBlockerObject, float alpha)
		{
			method_8("DarkenInputBlocker", inputBlockerObject, alpha);
		}
	}
}
